<?php


namespace App\Bizs\Mp1;

use App\Models\AreaModel;
use Base\BaseBiz;

class AreaBiz extends BaseBiz
{
    public function getVantAreaList()
    {
        $area = (new AreaModel())->getVantAreaList();
        $res = [];
        foreach ($area as $v) {
            $res["{$v['level']}_list"][$v['id']] = $v['name'];
        }
        return $res;
    }
}
